package zhtt04.config;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

/**
 * Created by mengxiaxia on 2016/10/31.
 */
@EnableAutoConfiguration
@ComponentScan(basePackages = {"zhtt04.controller","zhtt04.dao","zhtt04.entity"})
@EntityScan("zhtt04.entity")
@EnableJpaRepositories("zhtt04.dao")
public class AppConfig04 {

    public static void main(String[] args) {
        SpringApplication.run(AppConfig04.class);
    }
}
